package com.zy.study.pojo;



import java.io.Serializable;
import java.math.BigInteger;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class CountryData implements Comparable<CountryData>,Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String cityID;//国家编码
	private String countryName;//国家名称
	private int cumulativeComfirmed;//累计确证
	private int suspect;//疑是病例
	private int health;//累计治愈人数
	private int deathTotal;//累计死亡总人数
	private TodayData todayData;//今日数据对象
	private String upDataTime;//数据的更新日期
	private String percentOfConfirmed;//确诊人数占全球确诊人数的百分比
	private String percentOfDead;//死亡人数占全球死亡人数的百分比
	@Override
	public int compareTo(CountryData o) {
		return cumulativeComfirmed-o.cumulativeComfirmed;
	}
	
}
